package wei.xinya.springMVC.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 控制器
 */
@Controller
public class HelloController {

    @RequestMapping("/")
    public String index() {
        return "index";
    }


    @RequestMapping("/target")
    public String target() {
        return "target";
    }

}
